﻿using System.ComponentModel.Composition;
using System.Windows;
using MefBasic;

namespace MediaAssistant.Controls.BottomPanel
{
    [Export(typeof(BottomPanelPresenter))]
    public class BottomPanelPresenter:APresenter<IBottomPanelView>
    {
        [ImportingConstructor]
        public BottomPanelPresenter(IBottomPanelView view) : base(view)
        {
        }

        public string  StatusMessage
        {
            get { return (string )GetValue(StatusMessageProperty); }
            set { SetValue(StatusMessageProperty, value); }
        }

        public static readonly DependencyProperty StatusMessageProperty =
            DependencyProperty.Register("StatusMessage", typeof(string ), typeof(BottomPanelPresenter), new UIPropertyMetadata("Ready"));
        
    }
}
